PHP multidimensional array search by value

51

PHP multidimensional array search by value -

$key = array_search('100', array_column($userdb, 'uid'));

Comments

Submit
0 Comments